package com.alpaak.eurekafeignclient.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: spring-cloud-demo
 * @className: Hiservice
 * @description:
 * @author: alpaak
 * @create: 2019-05-04 14:11
 **/

@Service
public class HiService {
    @Autowired
    private EurekaClientFeign clientFeign;

    public String sayHi(String name) {
        return clientFeign.sayHiFromEurekaClient(name);
    }
}
